exports.restartApplicationContainer = function(req,res){

    var bodyParams = req.routeInfo.bodyParams;

    R.Ssh_exec_dockerCommand(`${DockerSH.RestartAppContainer} ${bodyParams.name}`,function(rs){

        //判断是否有错误提示
        if(rs.indexOf('Error') != -1){
            return RES.errorResponse(res,"应用容器重启失败，请重新尝试");
        }else{
            RES.successResponse(res);
        }
        
    })
    
}